package org.cmg.study.spring;

/**
 * @author CMG
 * @version 1.0
 * @cLassName Person
 * @description
 * @date 2021/8/31 17:02
 **/
public class Person {
    private Man man;

    public Man getMan() {
        return man;
    }

    public void setMan(Man man) {
        System.out.println("在Person的setMan方法内");
        this.man = man;
    }

    public void man(){
        man.show();
    }
}
